<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>RestAPI: RestAPI.amazon.S3.Bucket Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">RestAPI
   &#160;<span id="projectnumber">0.0.2</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>RestAPI</b>      </li>
      <li class="navelem"><b>amazon</b>      </li>
      <li class="navelem"><b>S3</b>      </li>
      <li class="navelem"><a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html">Bucket</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">RestAPI.amazon.S3.Bucket Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="RestAPI::amazon::S3::Bucket" --><!-- doxytag: inherits="RestAPI::amazon::service::AWSservice" -->
<p>Data Holder for <a class="el" href="namespaceS3.html" title="This is the module that wraps all Amazon S3 funtionality.">S3</a> bucket.  
 <a href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for RestAPI.amazon.S3.Bucket:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classRestAPI_1_1amazon_1_1S3_1_1Bucket.png" usemap="#RestAPI.amazon.S3.Bucket_map" alt=""/>
  <map id="RestAPI.amazon.S3.Bucket_map" name="RestAPI.amazon.S3.Bucket_map">
<area href="classRestAPI_1_1amazon_1_1service_1_1AWSservice.html" title="The abstract class of Amazon Web Service." alt="RestAPI.amazon.service.AWSservice" shape="rect" coords="0,0,223,24"/>
</map>
 </div></div>

<p><a href="classRestAPI_1_1amazon_1_1S3_1_1Bucket-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa4145b09df0e067c225f07dd7b2ab963"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::__init__" ref="aa4145b09df0e067c225f07dd7b2ab963" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>__init__</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#a430af1e47f2a70ec1c376cc0b2a609e8">addRemote</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a bucket to remote server.  <a href="#a430af1e47f2a70ec1c376cc0b2a609e8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#a922a3621e5e4b15233172212cee1c66a">ls</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The generator to list the content inside the bucket.  <a href="#a922a3621e5e4b15233172212cee1c66a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7667e36a55e90bb91362b348ed402e3c"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::delete" ref="a7667e36a55e90bb91362b348ed402e3c" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#a7667e36a55e90bb91362b348ed402e3c">delete</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete the files in the file list. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#a2cdca6cb14122be29c66f41ffe9d25af">createUploadForm</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a upload form to upload into a bucket.  <a href="#a2cdca6cb14122be29c66f41ffe9d25af"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#afd44494eae8e0ebc5a6525ff833c1f59">has</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the file obj or file exists remotely on <a class="el" href="namespaceS3.html" title="This is the module that wraps all Amazon S3 funtionality.">S3</a>.  <a href="#afd44494eae8e0ebc5a6525ff833c1f59"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3d94dc441d01334297cab6644a4501ed"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::__eq__" ref="a3d94dc441d01334297cab6644a4501ed" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#a3d94dc441d01334297cab6644a4501ed">__eq__</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if bucket1 == bucket2. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#a589fb49ffd46b450ee95a7408f65b05d">get</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a File object and download its content from the specified path of the bucket.  <a href="#a589fb49ffd46b450ee95a7408f65b05d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#aaf0e07aabe7a436f31874b14e0b9489c">add</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a File object and upload its content(from source) to the specified path of the bucket.  <a href="#aaf0e07aabe7a436f31874b14e0b9489c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8e45dd3b7aec6ed0809268b5a8b866f"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::__getitem__" ref="ad8e45dd3b7aec6ed0809268b5a8b866f" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>__getitem__</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#aa58c1ce990cc60c864511c55a22e3d1b">getPolicy</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the bucket access policy.  <a href="#aa58c1ce990cc60c864511c55a22e3d1b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeba39bc27d401a3a24c60938003092bb"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::updatePolicy" ref="aeba39bc27d401a3a24c60938003092bb" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>updatePolicy</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#a83ce0c1ea16eb0b89d06104a25a0d772">addTemporaryFolder</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a folder that have life cyle.  <a href="#a83ce0c1ea16eb0b89d06104a25a0d772"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3a089c2b25063d93ddc4bf3619b9a2bc"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::listTemporaryFolders" ref="a3a089c2b25063d93ddc4bf3619b9a2bc" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>listTemporaryFolders</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aefb7c737574fe8c15e8d50599ed67786"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::deleteTemporaryFolders" ref="aefb7c737574fe8c15e8d50599ed67786" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>deleteTemporaryFolders</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a82e773d50ba56b2c6205403ccf825dcb"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::payby" ref="a82e773d50ba56b2c6205403ccf825dcb" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#a82e773d50ba56b2c6205403ccf825dcb">payby</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Payment policy. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac597b88a178c950a4436e1a457af725a"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::createFileObject" ref="ac597b88a178c950a4436e1a457af725a" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#ac597b88a178c950a4436e1a457af725a">createFileObject</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a File object in memory. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a005bfd3657593c89f8ec07cecc2f4670"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::getACL" ref="a005bfd3657593c89f8ec07cecc2f4670" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>getACL</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7b07cb746e320d38c19ef4212deab9de"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::createACL" ref="a7b07cb746e320d38c19ef4212deab9de" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>createACL</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b04bae80cda7be04f6625ed303f9e69"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::updateACL" ref="a8b04bae80cda7be04f6625ed303f9e69" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>updateACL</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a533c0ddf04d3fcbac3224ba0af631543"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::getLifeCycleRules" ref="a533c0ddf04d3fcbac3224ba0af631543" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>getLifeCycleRules</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aadf736144cc01342c2843d7720ea4a53"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::updateLifeCycleRules" ref="aadf736144cc01342c2843d7720ea4a53" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>updateLifeCycleRules</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9376f098392c8240607fee3870c89d97"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::getVersionControl" ref="a9376f098392c8240607fee3870c89d97" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>getVersionControl</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a905d0acaca983740074da7c8b0704844"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::updateVersionControl" ref="a905d0acaca983740074da7c8b0704844" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><b>updateVersionControl</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5f315411ab9dbc513a5c377b1ed285e0"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::setOwner" ref="a5f315411ab9dbc513a5c377b1ed285e0" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRestAPI_1_1amazon_1_1service_1_1AWSservice.html#a5f315411ab9dbc513a5c377b1ed285e0">setOwner</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the owner of the AWS service. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a360415be2c893aeedf1aad20ae5b71ad"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::setCredential" ref="a360415be2c893aeedf1aad20ae5b71ad" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRestAPI_1_1amazon_1_1service_1_1AWSservice.html#a360415be2c893aeedf1aad20ae5b71ad">setCredential</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the credential information of the current bucket. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aadaf7b380c7017dd8104874556dc132f"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::name" ref="aadaf7b380c7017dd8104874556dc132f" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>name</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0c54f50973f027e57d86f672d469f65b"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::host" ref="a0c54f50973f027e57d86f672d469f65b" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>host</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeb413cc79ef09644244b68a161baa661"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::objects" ref="aeb413cc79ef09644244b68a161baa661" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>objects</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abbe39d5f71d640ae8ad1ebf84915623f"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::owner" ref="abbe39d5f71d640ae8ad1ebf84915623f" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>owner</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aefa6630feb9c838da6d037e3c816f24b"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::AuthKey" ref="aefa6630feb9c838da6d037e3c816f24b" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>AuthKey</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b5c174ee99f2a1d928380c642a374e0"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::SecretAccessKey" ref="a2b5c174ee99f2a1d928380c642a374e0" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>SecretAccessKey</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2337cd37c96df6f85389dfe4e86b6e8f"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::securityToken" ref="a2337cd37c96df6f85389dfe4e86b6e8f" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>securityToken</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Data Holder for <a class="el" href="namespaceS3.html" title="This is the module that wraps all Amazon S3 funtionality.">S3</a> bucket. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aaf0e07aabe7a436f31874b14e0b9489c"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::add" ref="aaf0e07aabe7a436f31874b14e0b9489c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def <a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#aaf0e07aabe7a436f31874b14e0b9489c">RestAPI.amazon.S3.Bucket.add</a> </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>destPath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>source</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a File object and upload its content(from source) to the specified path of the bucket. </p>

</div>
</div>
<a class="anchor" id="a430af1e47f2a70ec1c376cc0b2a609e8"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::addRemote" ref="a430af1e47f2a70ec1c376cc0b2a609e8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def <a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#a430af1e47f2a70ec1c376cc0b2a609e8">RestAPI.amazon.S3.Bucket.addRemote</a> </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add a bucket to remote server. </p>

</div>
</div>
<a class="anchor" id="a83ce0c1ea16eb0b89d06104a25a0d772"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::addTemporaryFolder" ref="a83ce0c1ea16eb0b89d06104a25a0d772" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def <a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#a83ce0c1ea16eb0b89d06104a25a0d772">RestAPI.amazon.S3.Bucket.addTemporaryFolder</a> </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add a folder that have life cyle. </p>

</div>
</div>
<a class="anchor" id="a2cdca6cb14122be29c66f41ffe9d25af"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::createUploadForm" ref="a2cdca6cb14122be29c66f41ffe9d25af" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def <a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#a2cdca6cb14122be29c66f41ffe9d25af">RestAPI.amazon.S3.Bucket.createUploadForm</a> </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>policy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>destPath</em> = <code>'/'</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a upload form to upload into a bucket. </p>
<p>Upload Path and policy must be provided. </p>

</div>
</div>
<a class="anchor" id="a589fb49ffd46b450ee95a7408f65b05d"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::get" ref="a589fb49ffd46b450ee95a7408f65b05d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def <a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#a589fb49ffd46b450ee95a7408f65b05d">RestAPI.amazon.S3.Bucket.get</a> </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>destPath</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a File object and download its content from the specified path of the bucket. </p>

</div>
</div>
<a class="anchor" id="aa58c1ce990cc60c864511c55a22e3d1b"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::getPolicy" ref="aa58c1ce990cc60c864511c55a22e3d1b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def <a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#aa58c1ce990cc60c864511c55a22e3d1b">RestAPI.amazon.S3.Bucket.getPolicy</a> </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the bucket access policy. </p>

</div>
</div>
<a class="anchor" id="afd44494eae8e0ebc5a6525ff833c1f59"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::has" ref="afd44494eae8e0ebc5a6525ff833c1f59" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def <a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#afd44494eae8e0ebc5a6525ff833c1f59">RestAPI.amazon.S3.Bucket.has</a> </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>fileobj</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Check if the file obj or file exists remotely on <a class="el" href="namespaceS3.html" title="This is the module that wraps all Amazon S3 funtionality.">S3</a>. </p>
<p>The parameter can be a <a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1FileObject.html" title="Object to store.">FileObject</a> or the file name string. </p>

</div>
</div>
<a class="anchor" id="a922a3621e5e4b15233172212cee1c66a"></a><!-- doxytag: member="RestAPI::amazon::S3::Bucket::ls" ref="a922a3621e5e4b15233172212cee1c66a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def <a class="el" href="classRestAPI_1_1amazon_1_1S3_1_1Bucket.html#a922a3621e5e4b15233172212cee1c66a">RestAPI.amazon.S3.Bucket.ls</a> </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>path</em> = <code>'/'</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>pageSize</em> = <code>1000</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>getVersionInfo</em> = <code>True</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The generator to list the content inside the bucket. </p>
<p>You can create the generator by: listAction=self.bucket.ls() Then iterate over it: for page in listAction: for item in page: print item You can limit the pageSize, or path You can also prevent getting version information(getVersionInfo=False) if the bucket is not version controlled. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>amazon/S3.py</li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Jan 24 2013 00:42:21 for RestAPI by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
